//
//  InforSearchCell.m
//  Pacific_Computer
//
//  Created by 范琦 on 14-12-29.
//  Copyright (c) 2014年 lanou3g.com 蓝鸥科技. All rights reserved.
//

#import "InforSearchCell.h"

@implementation InforSearchCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.title = [[UILabel alloc]init];
        [self.contentView addSubview:self.title];
        [_title release];
        
        self.pubDate = [[UILabel alloc]init];
        [self.contentView addSubview:self.pubDate];
        [_pubDate release];
        
        
    }
    return self;
}
- (void)layoutSubviews
{
    [super layoutSubviews];
    self.title.frame = CGRectMake(0, 0, self.contentView.bounds.size.width, self.contentView.bounds.size.height / 2);
    
    self.pubDate.frame = CGRectMake(0, self.title.frame.origin.y + self.title.bounds.size.height, self.contentView.bounds.size.width, self.contentView.bounds.size.height / 2);
    
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
